QuickOPC User's Guide and Reference
InList(UAFilterOperand,IEnumerable<Object>) Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Filtering Namespace > UAFilterElements Class > InList Method : InList(UAFilterOperand,IEnumerable<Object>) Method
TRUE if operand[0] is equal to one or more of the remaining operands.

Remarks:

The Equals Operator is evaluated for operand[0] and each remaining operand in the list. If any Equals evaluation is TRUE, InList returns TRUE.

Syntax
'Declaration
 
<NotNullAttribute()>
Public Overloads Shared Function InList( _
   ByVal operand0 As UAFilterOperand, _
   ByVal remainingLiteralValues As IEnumerable(Of Object) _
) As UAContentFilterElement
'Usage
 
Dim operand0 As UAFilterOperand
Dim remainingLiteralValues As IEnumerable(Of Object)
Dim value As UAContentFilterElement
 
value = UAFilterElements.InList(operand0, remainingLiteralValues)

Parameters

operand0
remainingLiteralValues
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also